package com.sjgtw.cloud.web.duty.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 值班表对象 t_eg_duty
 * 
 * @author ruoyi
 * @date 2024-03-13
 */
public class Duty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主表id */
    private Long id;

    /** 单位id */
    @Excel(name = "单位id")
    @ApiModelProperty("单位id")
    private Long deptId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .toString();
    }
}
